package timbap.visualizer.api.model;

import javax.xml.bind.JAXBException;
import java.io.IOException;
import java.io.Serializable;
import java.io.File;

public interface Cacheable<T extends Serializable> {

    public File getCacheFile();
    
    public T load() throws IOException, JAXBException;

    public void save(T pObjectToSave) throws IOException, JAXBException;

}
